<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<style type="text/css">
			*{
				padding: 0;
				margin: 0;
			}
			div{
				width: 150px;
				height: 150px;
			}
			#red{
				background: red;
			}
			#blue{
				background: blue;
				/*绝对定位不会保留原来的位置*/
				/*绝对定位如果父级没有定位属性 会参考Body进行移动*/
				position: absolute;
				top: 50px;
				left: 100px;
			}
			#yellow{
				background: yellow;
			}
		</style>
	</head>
	<body>
		<div id="red"></div>
		<div id="blue"></div>
		<div id="yellow"></div>
	</body>
</html>
